Revert previous workarounds and upgrade TFX stack to 1.21.0#39164
Revert previous workarounds and upgrade TFX stack to 1.21.0#39164shunping wants to merge 7 commits into
Conversation
544aa0f to
35326af
Compare
|
r: @aIbrahiim Running the failed workflow against this PR: https://github.com/apache/beam/actions/runs/28452712519/job/84319046212 Notice that this PR isn't meant to capture all changes from #39162. If you need to make additional changes to refactor the test, please feel free to rebase your work after it is merged. Thanks a lot! |
|
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment |
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request modernizes the TFX benchmark stack by upgrading core components to version 1.21.0. By updating these dependencies, the project is able to remove previous configuration workarounds and constraints files that were used to manage complex dependency resolution, simplifying the installation process for the benchmark environment. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request removes the constraints file for CloudML benchmarks, updates and pins several TFX-related dependencies to version 1.21.0 in requirements.txt, and leaves other core dependencies (such as tensorflow, numpy, and pyarrow) completely unpinned. It also removes the @pytest.mark.uses_tft decorator from some MLTransform tests and updates the Gradle task to install requirements without a constraints file. The feedback points out that leaving core dependencies unpinned can lead to non-reproducible environments and unexpected CI failures, recommending that compatible version ranges or exact pins be specified.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
tfx-bsl,tensorflow-transform, andtensorflow-metadata) to1.21.0in requirements.txt.@pytest.mark.uses_tftmarker from tests inmltransform_one_hot_encoding_test.pyto skip those tests in dataflow load test.fixes #38780
related to #39163